package com.neusoft.chatserver.service;

import com.neusoft.chatserver.dto.GroupCreate;
import com.neusoft.chatserver.dto.GroupModify;
import com.neusoft.chatserver.dto.RespBean;
import com.neusoft.chatserver.entity.ChatGroup;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuxp
 * @since 2021-07-15
 */

public interface IChatGroupService extends IService<ChatGroup> {
    RespBean createGroup(GroupCreate groupCreate);

    RespBean addGroupMember(GroupModify groupModify);

    RespBean deleteGroupMember(GroupModify groupModify);

    RespBean queryGroupMember(Integer groupId);

    RespBean getAllGroup(Integer userId);

    RespBean getGroupMember(Integer groupId);
}
